package com.wondersgroup.insurance.datalibrary;

import okhttp3.MediaType;

/**
 * Created by Administrator on 2016/12/7.
 */

public class Constants {
    public static MediaType MEDIA_TYPE_PLAIN = MediaType.parse("text/plain;charset=utf-8");
    //post string
//    RequestBody.create(mediaType, content)

    public static MediaType MEDIA_TYPE_STREAM = MediaType.parse("application/octet-stream");
    //post file
//    RequestBody.create(mediaType, file)

    public static MediaType MEDIA_TYPE_IMG =  MediaType.parse("image/jpg");

    public static MediaType MEDIA_TYPE_JSON =  MediaType.parse("application/json; charset=utf-8");




}
